package org.cs.mgr.before.dao.impl;

import org.cs.core.dao.impl.BaseDao;
import org.cs.mgr.before.dao.IUserDao;
import org.cs.mgr.before.model.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserDao extends BaseDao<User> implements IUserDao{

	//通过id查user对象	
	@Override
	public User getUser(String id) {
	User user = this.findById(id);
	return user;
	}

	
}
